﻿package twitter.api.data{	import twitter.api.data.TwitterUser;	[Bindable]	public class TwitterStatus {		public var createdAt:Date;		public var ID:Number;		public var text:String;		public var user:TwitterUser;		function TwitterStatus(status:Object) {			createdAt = makeDate(status.created_at);			ID = status.id;			text = status.text;			user = new TwitterUser(status.user);		}		function makeDate(created_at:String):Date{			var dateString:String = created_at.substr(0,10)+" "+created_at.substr(created_at.length -4,created_at.length);			var timeString:String = created_at.substr(11,8);			return(new Date(dateString+" "+timeString));			}	}}